home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / hardware-part1 / 1183 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.8 KB

  1. Path: nntp.teleport.com!sschaem
  2. From: sschaem@teleport.com (Stephan Schaem)
  3. Newsgroups: comp.sys.amiga.games,comp.sys.amiga.hardware,comp.sys.amiga.misc,comp.sys.amiga.graphics,comp.sys.amiga.programmer
  4. Subject: Re: FPU and games?
  5. Followup-To: comp.sys.amiga.games,comp.sys.amiga.hardware,comp.sys.amiga.misc,comp.sys.amiga.graphics,comp.sys.amiga.programmer
  6. Date: 14 Jan 1996 16:46:16 GMT
  7. Organization: Teleport - Portland's Public Access (503) 220-1016
  8. Message-ID: <4dbc0p$7r7@maureen.teleport.com>
  9. References: <4d5t1b$sbi@orca.ucd.ie> <385424638wnr@teeth.demon.co.uk> <wfblanDL5uCw.LsC@netcom.com>
  10. NNTP-Posting-Host: linda.teleport.com
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Wells Fargo Bank (wfblan@netcom.com) wrote:
  14. : I have pondered this before, but wouldn't it be possible to have games that
  15. : render the screen (TMapped games) take advantage of the FPU.  Especially on
  16. : an 040 or 060 where both Integer and FPU operations can be being done at the
  17. : same time.  Is there not a formula that could convert a set point math to a
  18. : floating point math to have the FPU handle it.  If both the Integer and FPU
  19. : math could be taken advantage of to handle rendering of the screen, it
  20. : could essentially double the rendering speed?  Even and 030 w/ FPU could
  21. : allow for excellent TMapped rendering speeds if the FPU was utilized.
  22.  
  23.  I suggest that you get the 6888x timing and 040 timing information.
  24.  A 3d engine is optimized for int operation, and minimum an fpu op on a 040
  25.  will take 2 cycle. plus if you think the engine might do 2 operation
  26.  per register, the fpu is 8time slower (The 68882 is totoaly out of the  
  27.  picture). And the only way you can efficiently mix float and int operation
  28.  is if you do something like mix 2 diferent loop in one... you do not want to
  29.  convert your type all the time its very slow.
  30.  
  31. : Again, couldn't the way the math is being done be modified to use BOTH the
  32. : regular Integer algorith and also a FPU algorithm so that both could be
  33. : crunching data?  Slide the decimal over and then have the FPU handle the
  34. : operation and slide it back when done.  I am neither a master programmer
  35. : nor a math genius, but this seems fully possible with the math skills I
  36. : do have.
  37.  
  38.  the 040 can peak at mhz mips doing int only, but 'only' mhz/4 mflop + 
  39.  mhz/2 mips for perfect overlaped int+float. 
  40.  
  41.  Its not that preacticale at all to mix type... what will you 3d strucxture
  42.  be stored in? the native fpu type format is very big..... and if you want
  43.  to do int operation on them you need to type convert.Slower access and more
  44.  bandwidth needed.
  45.  
  46. : Alex, or any other programmer...  What do you say?  Have you ever attempted
  47. : such a solution to take advantage of an FPU if it is available?  Comments??
  48.  
  49.  maybe on a 060 the fpu unit is as fast has the int unit and the 3d 
  50.  engine can gain from it to be 'high precision', and probably more
  51.  flexible.
  52.  
  53.  Stephan
  54.